#pragma once

#include <QWidget>

namespace Ui {
class Register;
}

class Register : public QWidget
{
  Q_OBJECT

 public:
  explicit Register(QWidget *parent = nullptr);
  ~Register();

 private slots:
  void on_buttonBox_accepted();

  void on_buttonBox_rejected();

 signals:
  void login(const QString &txt,bool admin,int loan,int max);
 private:
  Ui::Register *ui;
};

